<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>协议管理</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  #parse('/headFiles.html')
  <link href="$!{resDomain}/assets/simditor-2.3.28z/css/simditor.css" rel="stylesheet" media="all" />
  <style type="text/css">
    .simditor {
      min-height: 700px;
      border: 0;
    }
  </style>
</head>
<body>
<div class="layui-fluid layui-form" wid100>
	<input type="hidden" name="id" value="$!{id}">
	<div class="layui-form-item">
		<label class="layui-form-label">安全配置名称</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input" name="name" value="$!{name}">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">访问令牌</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input" name="token" value="$!{token}">
			<p style="color:red;">不填写则随机生成</p>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">访问IP地址</label>
		<div class="layui-input-block">
			<textarea class="layui-textarea" name="uploadTypeSuffix" placeholder="127.0.0.1,...">$!{ips}</textarea>
			<p style="color:red;">多个IP以逗号分隔</p>
		</div>
	</div>
    <div class="layui-form-item layui-hide">
    	<input type="button" lay-submit lay-filter="LAY-form-submit" id="LAY-form-submit" value="确认">
	</div>
</div>
#parse('/footFiles.html')
<script>
layui.config({
  base: '$!{webRoot}/layuiadmin/'
  ,webRoot:'$!{webRoot}'
}).extend({
  index: 'lib/index'
}).use(['index', 'form'])
</script>
</body>
</html>